﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI;
using System.Text;
using System.Threading;

public partial class _Default : System.Web.UI.Page
{
    static int xx = 0;
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            //int id = toole.ID;
            if (Request.RequestType.ToUpper() == "POST")
            {
                lock (toole.listrequest)
                {
                    toole.listrequest.Add(Request);
                }
                RequestListWork.AddWork(new PostWork());
            }
            else
            {
                Response.Write("NULL");
            }
        }
        catch (Exception ee)
        {
            toole.WriteFile(ee.Message + "\r\n" + ee.Source + "\r\n" + ee.StackTrace);
        }
    }

    private void SetRequest()
    {
        
    }
    
}